package com.demo.dao.impl;


import org.springframework.stereotype.Repository;

import com.demo.dao.BaseDao;
import com.demo.dao.UserDao;
import com.demo.entity.User;

@Repository
public class UserDaoImpl extends BaseDao<User> implements UserDao {

	
	@Override
	public User findOneByUsername(String username) {
		
		return findUniqueBy("username",username,User.class);
	}

}
